﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using System.Data.Entity.ModelConfiguration;
using BeautyTech.Core.Domain.Catalogs;

namespace BeautyTech.Data.Configuration.Catalogs
{
    public class CatalogConfiguration : EntityTypeConfiguration<Catalog>
    {
        public CatalogConfiguration()
        {
            this.Property(p => p.Name).HasMaxLength(50).IsRequired();
        }
    }
}
